/**
 * jims
 */
package com.jims.master.modules.sync.entity;

import org.hibernate.validator.constraints.Length;

import com.jims.master.common.persistence.DataEntity;

/**
 * Entity
 * @author WangYQ
 * @version 2018-03-29
 */
public class NetHisLogger extends DataEntity<NetHisLogger> {
	
	private static final long serialVersionUID = 1L;
	private String doctorId;		// 医生id
	private String clinicId;		// 门诊病历id
	private String status;		// 状态码
	private String patientId;		// 患者id
	
	public NetHisLogger() {
		super();
	}

	public NetHisLogger(String id){
		super(id);
	}

	@Length(min=0, max=64, message="医生id长度必须介于 0 和 64 之间")
	public String getDoctorId() {
		return doctorId;
	}

	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}
	
	@Length(min=0, max=64, message="门诊病历id长度必须介于 0 和 64 之间")
	public String getClinicId() {
		return clinicId;
	}

	public void setClinicId(String clinicId) {
		this.clinicId = clinicId;
	}
	
	@Length(min=0, max=2, message="状态码长度必须介于 0 和 2 之间")
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	
	@Length(min=0, max=64, message="患者id长度必须介于 0 和 64 之间")
	public String getPatientId() {
		return patientId;
	}

	public void setPatientId(String patientId) {
		this.patientId = patientId;
	}
	
}